package com.fjxd.flightNumber.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fjxd.flightNumber.pojo.FlightNumber;
import com.fjxd.flightNumber.pojo.vo.HotCityVo;

import java.util.List;


public interface FlightNumberService extends IService<FlightNumber> {

    List<Integer> getFlightNumberIdByCity(String city1, String city2);

    List<Integer> getFlightNumberIdByUpCityId(Integer upCityId, Integer downCityId, Integer startIndex, Integer size);

    List<FlightNumber> getFlightNumberIdByDownCityId(Integer upCityId, Integer downCityId);

    List<FlightNumber> getFlightNumberByDownCity(Integer downCityId);

    List<FlightNumber> getFlightNumberByUpCityIdAndDownCity(Integer upCityId, Integer downCityId, Integer startIndex, Integer size);

    List<FlightNumber> getFlightNumberByUpCityAndDownCity(String upCity, String downCity);

    FlightNumber getFlightNumberByFlightNumber(String flightNumber);

    List<FlightNumber> getFlightNumberByPlaneId(Integer id);

    List<FlightNumber> getplaneByFlightNumber(Integer pid);

    List<HotCityVo> getHotCity(Integer id);

    List<FlightNumber> getTicketByCity(Integer cityId, String city);

    List<FlightNumber> getManyMsg(List<Integer> id);
}
